<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>test</title>
<script>
// JavaScript代码块1
var a =1;
</script>
<script>
// JavaScript代码块2
function f(){
    alert(1);
}
</script>

</head>
<body>
</body>
</html> 



